<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
	<link href="${ctxPath }/css/chat.css" rel="stylesheet">
<div id="chat-container" style="display: none;" <%-- class="draggable" --%>>
	<div class="toolbar">
		<img class="newtips" style="display: none;" src="${ctxPath }/images/chat/new.gif"/><span class="noread">(1)</span>
		<span class="closechat" id="closechat">关闭</span>
		<span class="minchat" id="minchat">最小化</span>
		<span style="display: none;" class="returnchat" id="returnchat">还原</span>
	</div>
	<div class="content">
		<div class="container chat-signin"> 
	       	<form class="form-signin"> 
	           	<h2 class="form-signin-heading">登录讨论组</h2> 
	           	<div class="btn-group">
	           	<label for="nickname">用户：</label> <span>${sessionScope.session_user.userName }</span>
	           		<input type="hidden" id="nickname" value="${sessionScope.session_user.loginCode }">
	           		<input type="hidden" id="chatuserId" value="${sessionScope.session_user.id }">
	          		<input type="hidden"  id="chatRealName" value="${sessionScope.session_user.userName }"> 
	          	</div>
	           	<div class="btn-group"> 
	               	<label for="chatroom">群组：</label> <select size="1" id="chatroom">
	               		<option>技术部</option>
	               	</select> 
	           	</div> 
	           	<button class="btn btn-large btn-primary" type="submit" id="enterRoom">登录</button> 
	       	</form> 
	   	</div> 
	   	<!-- /container --> 
	 
	   	<div class="container chat-wrapper"> 
	       	<form id="do-chat"> 
	           	<div><h2 class="alert alert-success" style="width: 100%;"><span class="chatTitle"></span><input type="button" id="leave-room" class="btn btn-large btn-primary" value="退出" style="margin-left: 30px;"/></h2></div>
	           	<div id="responseDiv"><table id="response" class="table table-bordered"></table></div>
	           	<fieldset> 
	               	<legend>输入信息..</legend> 
	               	<div class="controls"> 
	                   	<input type="text" class="input-block-level" placeholder="请输入..." id="message" style="height:60px"/>
	                   	<select id="usersonline">
	                   		<option value="">在线人员</option>
	                   	</select>
	                   	<span id="chatusersonlinenum"></span>人在线
	                   	<span style="display: none;"><input type="checkbox" id="sendall" class="btn btn-large btn-primary" value="1"/>群发</span>
	                   	<input type="button" id="sendbtn" class="btn btn-large btn-block btn-primary" value="发送" />
	               	</div> 
	           	</fieldset> 
	       	</form> 
	   	</div>
	</div> 
</div>